package sandbox.vaadin;

import sandbox.vaadin.Util.Size;
import sandbox.vaadin.skiller.Skiller;

import com.vaadin.ui.VerticalLayout;

public class MainView extends VerticalLayout
{
  private static final long serialVersionUID = 1L;

	public MainView()
  {
		super();
		init();
  }

	public MainView(Size size)
  {
		this(size, size);
  }

	public MainView(Size width, Size height)
  {
		this();		
		Util.setSize(this, width, height);		
  }

	private void init()
  {
		setMargin(true);

//		Clicker clicker = new Clicker();
		Skiller skiller = new Skiller(Size.FULL);

//		skiller.setWidth("100%");
//		skiller.setHeight("100%");
	
//		addComponent(clicker);
		addComponent(skiller);
  }
}